package com.itheima01.dao;

import com.itheima01.domian.Student;

import java.util.List;

public interface StudentDaoIf {
    //查询所有
    public abstract List<Student> findAll();

    //根据id查找
    public abstract Student findId(Integer id);

    //新增
    public abstract int addStudent(Student student);
}
